home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Detect Double Clicks.xpl < prev    next >
Text File  |  2001-08-28  |  1KB  |  39 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Hardware\Mouse\General Options"
  5. "NAME"="Double Click Detection"
  6. "VERSION"="1.05"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Detect Double Clicks"
  9. "DESCRIPTION 1"="Check box to detect accidental double clicks." 
  10. "DESCRIPTION 2"="Uncheck [clear] box to disable detection of accidental double clicks."
  11. "DESCRIPTION 3"="Plugin reguires IE4 or above."
  12. "AUTHOR"="Ojatex@aol.com"
  13. "CONTACTURL"="http://members.aol.com/ojatex/"
  14. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  15. "COMMENT 1"="Thanks to CptSiskoX for suggested plugin."
  16.  
  17. Sub Plugin_Initialize 
  18.  
  19.  i=RegReadValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\UseDoubleClickTimer")
  20.  if i="01000000" then SetUIElement 1,true
  21.  
  22. End Sub
  23.  
  24.  
  25. Sub Plugin_CheckData(ElementIndex)
  26. End Sub
  27.  
  28. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  29.  b=GetUIElement(1)
  30.  if b=true then
  31.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\UseDoubleClickTimer","01000000",3)
  32.  else
  33.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\UseDoubleClickTimer","00000000",3)
  34.  end if
  35. End Sub
  36.  
  37.  
  38. Sub Plugin_Terminate 
  39. End Sub